<template>
  <ElSelect :disabled="isDisabled"> <slot></slot> </ElSelect>
</template>

<script lang="ts" setup>
import { ElSelect } from 'element-plus';
import { useExtraDisabled } from '../libs/useExtraDisabled';

const $props = defineProps({
  disabled: {
    type: Boolean,
    default: undefined,
  },
});

const isDisabled = useExtraDisabled($props);
</script>
